const obj1 = {};
Object.preventExtensions(obj1);
console.log(Object.isExtensible(obj1));
// false
obj1.age = 18;
console.log(obj1);
// {}
